package com.example.blog.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("homework")
public class HomeWork {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer userId;//发布用户id
    private String title;
    private String homeWork;
    private String nickname;
    private String headerUrl;
    private Date createTime;
    private String subject;
}
